package com.irenty;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ExampleMain {
    private static Logger logger = LoggerFactory.getLogger(ExampleMain.class);
    
	public static void main(String[] srgs) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:/spring-context.xml");
		ExampleUtil exampleUtil = (ExampleUtil)context.getBean("example-util");
		logger.info("getSomething returned '{}'", exampleUtil.getSomething());
	}
}
